﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Dissemination.MVC.Models.Program>" %>
<%@ Import Namespace="Dissemination.MVC.Models"%>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	<asp:Literal runat="server" Text="<%$ Resources:Literals, ApplicationTitle%>" /> &middot; Programmes management &middot; <%= Model.ProgramName %>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="BreadcrumbContent" runat="server">
	<%= Html.ActionLink("Programmes management", "Index") %> &gt; <%= Model.ProgramName%>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Edit <em><%= Model.ProgramName %></em> details</h1>
    <% using (Html.BeginForm()) {%>
        <%= Html.ValidationSummary(true) %>
        
        <fieldset id="prog_edit">
            <%= Html.LabelFor(model => model.ProgramName) %>
            <div class="marg_der_230 flota">
                <%= Html.TextBoxFor(model => model.ProgramName) %>
                <%= Html.ValidationMessageFor(model => model.ProgramName) %>
            </div>
            
            <div class="limpia"></div>
            <%= Html.LabelFor(model => model.ProgramIsDefault) %>

            <div class="marg_der_230 flota">
                <%= Html.CheckBoxFor(model => model.ProgramIsDefault) %>
                <%= Html.ValidationMessageFor(model => model.ProgramIsDefault) %>
            </div>
            <div class="limpia"></div>
            
           <p class="enlaces">
            <!--<input type="submit" value="Save" class="crear flota" /> -->
            <a href="#" onclick="document.forms[0].submit()" > Save </a>
           <%= Html.ActionLink("Cancel", "Index") %>
        </p>
        
        <div class="limpia"></div>
        </fieldset>

    <% } %>


</asp:Content>

